import request from '@/utils/request'


// 查询咨询档案记录
export function getRecord(archivesId) {
  return request({
    url: '/consult/archives/record/listByArchives/' + archivesId,
    method: 'get'
  })
}

// 保存咨询记录
export function saveRecord(data) {
  return request({
    url: '/consult/archives/record',
    method: 'post',
    data: data
  })
}

